package com.zxl.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

@SpringBootApplication
@EnableCircuitBreaker
//开启服务监控
@EnableHystrixDashboard
public class HystrixDashBoard {

    public static void main(String[] args) {
        SpringApplication.run(HystrixDashBoard.class,args);
    }

}
